home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / bbs_util / bsrc_260.zip / INCLUDE.ZIP / DEFINES.H < prev    next >
Text File  |  1996-02-20  |  6KB  |  196 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*              (C) Copyright 1987-96, Bit Bucket Software Co.              */
  11. /*                                                                          */
  12. /*                                                                          */
  13. /*                                                                          */
  14. /*                  Major definitions used in BinkleyTerm                   */
  15. /*                                                                          */
  16. /*                                                                          */
  17. /*    For complete  details  of the licensing restrictions, please refer    */
  18. /*    to the License  agreement,  which  is published in its entirety in    */
  19. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.260.    */
  20. /*                                                                          */
  21. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  22. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  23. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  24. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  25. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  26. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  27. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  28. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  29. /*                                                                          */
  30. /*                                                                          */
  31. /* You can contact Bit Bucket Software Co. at any one of the following      */
  32. /* addresses:                                                               */
  33. /*                                                                          */
  34. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  35. /* P.O. Box 460398                AlterNet 7:42/1491                        */
  36. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  37. /*                                Internet f491.n343.z1.fidonet.org         */
  38. /*                                                                          */
  39. /* Please feel free to contact us at any time to share your comments about  */
  40. /* our software and/or licensing policies.                                  */
  41. /*                                                                          */
  42. /*--------------------------------------------------------------------------*/
  43.  
  44. #define SUCCESS 0
  45. #define SUCCESS_EOT -1
  46. #define OPEN_ERR -1
  47. #define GETBLOCK_ERR -2
  48. #define SENDBLOCK_ERR -3
  49. #define SEND_TIMEOUT -4
  50. #define END_OF_FILE -5
  51. #define SEND_RETRY_ERR -6
  52. #define SYSTEM_ERR -7
  53. #define DATA_STREAM_ERR -8
  54. #define CARRIER_ERR -9
  55. #define FNAME_ERR -10
  56. #define BUSY_ERR -11
  57. #define BAD_LINE_ERR -12
  58. #define VOICE_ERR -13
  59. #define DIAL_TONE_ERR -14
  60. #define MODEM_ERR -15
  61. #define TIME_ERR -16
  62. #define WHACK_CR_ERR -17
  63. #define XMODEM_ERR -18
  64. #define SENDFILE_ERR -19
  65. #define STREAM_ERR -20
  66. #define XMODEM_REC_ERR -21
  67. #define NO_CR_ERR -22
  68. #define EOT_RECEIVED -23
  69. #define STAT_ERR -24
  70. #define START_TIMEOUT -25
  71. #define NO_CARRIER_ERR -26
  72. #define CONN_COUNT_ERR -27
  73. #define NO_CONN_COUNT_ERR -28
  74. #define NO_CALL -29
  75. #define READ_ERR -30
  76. #define OUR_MSG_ERR -31
  77. #define MSG_SENT_ERR -32
  78. #define MLO_ERR -33
  79. #define PICKUP_DONE -34
  80. #define DEV_ERR -35
  81. #define KBD_ERR -36
  82. #define CRC_ERR -37
  83. #define RESYNC_ERR -38
  84. #define TOO_MANY_ERRORS -39
  85.  
  86. #define STREAM_CHARS 12000
  87. #define CRC 1
  88. #define CHECKSUM 0
  89. #define UNKNOWN -1
  90. #define WANTCRC 'C'
  91.  
  92. #define EOT_BLOCK 1
  93. #define TELINK_BLOCK 2
  94. #define DATA_BLOCK 3
  95. #define XMODEM_BLOCK 3
  96. #define BAD_BLOCK 4
  97. #define SHORT_BLOCK 5
  98. #define DUP_BLOCK 6
  99. #define SEALINK_BLOCK 7
  100. #define NO_BLOCK 10
  101.  
  102. #define XS0 2
  103. #define XS0T 3
  104. #define XS1 4
  105. #define XS2 5
  106. #define XS3 6
  107. #define MS0 2
  108. #define MS1 3
  109. #define MS2 4
  110. #define S0 1
  111. #define S1 2
  112. #define S2 3
  113. #define S3 4
  114. #define S4 5
  115. #define S5 6
  116. #define S6 7
  117. #define S7 8
  118. #define S8 9
  119. #define XR0 2
  120. #define XR0B 3
  121. #define XR1 4
  122. #define XR2 5
  123. #define XR3 6
  124. #define XR4 7
  125. #define XR5 8
  126. #define MR0 2
  127. #define MR1 3
  128. #define MR2 4
  129. #define MR3 5
  130. #define R0 1
  131. #define R1 2
  132. #define R2 3
  133. #define R3 4
  134. #define R4 5
  135. #define R5 6
  136. #define R6 7
  137. #define R7 8
  138. #define BS0 2
  139. #define BS1 3
  140. #define BS2 4
  141. #define BS3 5
  142. #define BS4 6
  143. #define BR0 2
  144. #define BR1 3
  145. #define BR2 4
  146. #define BR3 5
  147. #define BR4 6
  148. #define W0 1
  149. #define W1 2
  150. #define W2 3
  151. #define W3 4
  152. #define W4 5
  153. #define W5 6
  154. #define SR0 1
  155. #define SR1 2
  156. #define SR2 3
  157. #define AC0 2
  158. #define AC1 3
  159. #define AC2 4
  160. #define AC3 5
  161. #define AC4 6
  162. #define AC5 7
  163. #define AC6 8
  164. #define AC7 9
  165. #define AC8 10
  166. #define AC9 11
  167. #define AC10 12
  168. #define SB0 2
  169. #define SB1 3
  170. #define SB2 4
  171. #define SB3 5
  172. #define RB0 2
  173. #define RB1 3
  174. #define RB2 4
  175. #define RB3 5
  176. #define RB4 6
  177. #define SA0 2
  178. #define SA1 3
  179. #define SA2 4
  180. #define SA3 5
  181. #define SN0 2
  182. #define SN1 3
  183. #define SN2 4
  184. #define SN3 5
  185.  
  186. #define ONE_MINUTE 60000L
  187.  
  188. #define SEND_ONLY 1
  189. #define RECEIVE_ONLY 2
  190.  
  191. #define INITIALIZE   0
  192. #define TEST_AND_SET 1
  193. #define CLEAR_FLAG   2
  194. #define SET_SESSION_FLAG 3
  195. #define CLEAR_SESSION_FLAG 4
  196.